﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/AccountSite.Master" Inherits="System.Web.Mvc.ViewPage<Entity.Car_Rental.UserBases>" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    用户登录
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SiteMap" runat="server">
    <a href="/Home/Index">首页</a> &gt; 用户登录
</asp:Content>
<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm())
       { %>
    <fieldset>
        <legend>用户登陆,如果您没有帐户请
            <%: Html.ActionLink("注册", "Register") %></legend>
        <div style="margin-bottom: 10px">
            <%: Html.ValidationSummary(true)%>
        </div>
        <div class="editor-label">
            用 户：
        </div>
        <div class="editor-field">
            <%: Html.TextBoxFor(m => m.Name, new { @class = "input"})%>
            <%: Html.ValidationMessageFor(m => m.Name)%>
        </div>
        <div class="clear">
        </div>
        <div class="editor-label">
            密 码：
        </div>
        <div class="editor-field">
            <%: Html.PasswordFor(m => m.Password, new { @class = "input" })%>
            <%: Html.ValidationMessageFor(m => m.Password) %>
        </div>
        <div class="clear">
        </div>
        <p>
            <input type="submit" value="登录" class="button" />
        </p>
    </fieldset>
    <% } %>
</asp:Content>
